<!-- *************************************************************************************************************** -->

<!-- 定义数据表单头部工具栏操作按钮 -->
<script type="text/html" id="table-toolbar">
<div class="pear-btn-group">
#[[{{# if(RIGHTS.add){ }}]]#
<a class="pear-btn pear-btn-primary pear-btn-xs" round lay-event="add"><i class="layui-icon layui-icon-add-1"></i>&nbsp;新增</a>
#[[{{# } }}]]#
#[[{{# if(RIGHTS.batchRemove){ }}]]#
<a class="pear-btn pear-btn-danger pear-btn-xs" round lay-event="batchRemove"><i class="layui-icon layui-icon-delete"></i>&nbsp;批量删除</a>
#[[{{# } }}]]#
#[[{{# if(RIGHTS.clear){ }}]]#
<a class="pear-btn pear-btn-danger pear-btn-xs" round lay-event="clearAll"><i class="layui-icon layui-icon-close"></i>&nbsp;清空</a>
#[[{{# } }}]]#
#[[{{# if(RIGHTS.expandAll){ }}]]#
<button class="pear-btn pear-btn-success pear-btn-xs" round lay-event="expandAll"><i class="layui-icon layui-icon-spread-left"></i>&nbsp;展开</button>
#[[{{# } }}]]#
#[[{{# if(RIGHTS.foldAll){ }}]]#
<button class="pear-btn pear-btn-success pear-btn-xs" round lay-event="foldAll"><i class="layui-icon layui-icon-shrink-right"></i>&nbsp;折叠</button>
#[[{{# } }}]]#
#if(customTableButtons)#(customTableButtons)#end
</div>
</script>

<!-- 定义单记录操作按钮 -->
<script type="text/html" id="record-toolbar">
<div class="pear-btn-group">
#[[{{# if(RIGHTS.addChild){ }}]]#
<a class="pear-btn pear-btn-primary pear-btn-xs" plain lay-event="addChild"><i class="layui-icon layui-icon-add-1"></i>&nbsp;新增</a>
#[[{{# } }}]]#
#[[{{# if(RIGHTS.edit){ }}]]#
<a class="pear-btn pear-btn-warming pear-btn-xs" plain lay-event="edit"><i class="layui-icon layui-icon-edit"></i>&nbsp;编辑</a>
#[[{{# } }}]]#
#if(customRecordButtons)#(customRecordButtons)#end
#[[{{# if(RIGHTS.remove && !d.isSys){ }}]]#
<a class="pear-btn pear-btn-danger pear-btn-xs" plain lay-event="remove"><i class="layui-icon layui-icon-delete"></i>&nbsp;删除</a>
#[[{{# } }}]]#
</div>
</script>

<!-- *************************************************************************************************************** -->


<!-- *************************************************************************************************************** -->

<!-- 系统字段 -->
<script type="text/html" id="bean-isSys">
<!-- #DICTS(type="yes_no")#for(item : dicts) -->
#[[{{# if(d.isSys == ']]##(item.value)#[[') { }}]]#
<span class="#(item.listClass)">#(item.label)</span>
#[[{{# } }}]]#
<!-- #end#end -->
</script>

<!-- 状态字段 -->
<script type="text/html" id="bean-status">
<!-- #DICTS(type="bean_status")#for(item : dicts) -->
#[[{{# if(d.status == ']]##(item.value)#[[') { }}]]#
<span class="#(item.listClass)">#(item.label)</span>
#[[{{# } }}]]#
<!-- #end#end -->
</script>


<!-- 创建时间 -->
<script type="text/html" id="bean-createdDatetime">
{{layui.util.toDateString(d.createdDatetime, "yyyy-MM-dd HH:mm:ss")}}
</script>

<!-- *************************************************************************************************************** -->
